services:

    postgres:
        image: postgres
        #command: -c ssl=on -c ssl_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem -c ssl_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
        environment:
          POSTGRES_DB: ${DATABASE_NAME}
          POSTGRES_USER: ${DATABASE_USER}
          POSTGRES_PASSWORD: ${DATABASE_PASSWORD}
          PGDATA: /var/lib/postgresql/data
        volumes:
        - ./data:/var/lib/postgresql/data
        ports:
        - '5432:5432'
